<!--{template header}-->

<form method="post" enctype="multipart/form-data" action="index.php?m=business_special&a={$action}">
	<table cellspacing="1" cellpadding="4" width="100%" align="center" class="tableborder">
		<tr class="header">
			<td colspan="2">{$action_name}</td>
		</tr>
		<tr>
			<td bgcolor="#F8F8F8">商家名称:</td>
			<td align="right" bgcolor="#FFFFFF">
		  		{$info[business_name]}
		  	</td>
		</tr>
		<tr>
			<td bgcolor="#F8F8F8">菜名:&nbsp;<span style="color:red;">*</span></td>
			<td align="right" bgcolor="#FFFFFF">
		  		<input size="60" type="text" name="name" value="{$info[name]}" maxlength="100">
		  	</td>
		</tr>
		<tr>
			<td bgcolor="#F8F8F8">价格:</td>
			<td align="right" bgcolor="#FFFFFF">
		  		<input size="60" type="text" name="price" value="{$info[price]}" maxlength="10">
		  	</td>
		</tr>
		<tr>
			<td bgcolor="#F8F8F8">推荐指数:</td>
			<td align="right" bgcolor="#FFFFFF">
		  		<select name="star_level" value="{$info[star_level]}">
		  			<option value="1" {echo ($info[star_level] == '1') ? 'selected=""' : '';}>1</option>
		  			<option value="2" {echo ($info[star_level] == '2') ? 'selected=""' : '';}>2</option>
		  			<option value="3" {echo ($info[star_level] == '3') ? 'selected=""' : '';}>3</option>
		  			<option value="4" {echo ($info[star_level] == '4') ? 'selected=""' : '';}>4</option>
		  			<option value="5" {echo ($info[star_level] == '5') ? 'selected=""' : '';}>5</option>
		  		</select>
		  	</td>
		</tr>
		<tr>
			<td width="10%" bgcolor="#F8F8F8">图片:<br />
			JPG/JPEG/GIF/PNG（小于<span style="color:red;">2M</span>）
			</td>
			<td width="90%" align="right" bgcolor="#FFFFFF">
				<!-- {if $info[image]} -->
				<a href="{$info[image]}" target="_blank"><img width="120" height="120" src="{$info[image]}"></a><br />
				<!-- {/if} -->
				<input type="file" id="normalUploadFile" name="image" />
		  	</td>
		</tr>
		<tr>
			<td bgcolor="#F8F8F8">简介:&nbsp;<span style="color:red;">*</span><br />
			（50字以内）</td>
			<td align="right" bgcolor="#FFFFFF">
		  		<textarea cols="60" rows="5" name="desc">{$info[desc]}</textarea>
		  	</td>
		</tr>
	</table>
	<br />
	<center><input type="submit" class="button" name="addsubmit" value="提 交"></center>
</form>

<script type="text/javascript" src="templates/default/js/travel_info.js"></script>